package com.itheima.service.db;

import com.itheima.domain.SmsHomeBrand;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface SmsHomeBrandService {

    //分页查询
    PageBeanVo findByPage(Integer pageNum, Integer pageSize, String brandName, Integer recommendStatus);


    //根据id修改状态
    void updateRecommendStatus(Long id, Integer recommendStatus);

    //添加首页推荐品牌
    Integer create(List<SmsHomeBrand> smsHomeBrand);

    //批量删除推荐品牌
    Integer delete(List<Integer> ids);

    //修改推荐品牌排序
    Integer updateSortById(Integer id, Integer sort);

}
